/**
 * $Revision: 1857 $
 * $Date: 2014-05-17 23:24:43 +0000 (Sat, 17 May 2014) $
 * $Author: eperez $
 */

#ifndef DISPLAY_H_
#define DISPLAY_H_

#define AUTOISO_AUTO "AUTO"

#define OVERLAY_DELAY 5

#include <stdint.h>

extern void initialize_display(void);

extern void restore_display(void);
extern void display_refresh(void);
extern void display_overlay(uint8_t *vram_address);

extern void display_countdown_dialog_create (void);
extern void display_countdown_dialog_destroy(void);
extern void display_countdown               (int seconds);

extern void display_brightness(void);

extern void display_message_set(char *message, int timeout);

extern int  hack_TransferScreen(int r0, int r1, int r2, int r3, int a, int b, int c, int d);
extern int  hack_GUI_IDLEHandler(int unk0, int event, int unused, int unk1);
extern void *hack_invert_olc_screen(char *dst, char *src, int size);

#endif /* DISPLAY_H_ */
